// 使用 import.meta.glob 批量导入图片
const imageModules = import.meta.glob<{ default: string }>('@/assets/surroundingResources/*.png', { eager: true });
const modelingModules = import.meta.glob<{ default: string }>('@/assets/modeling/*.png', { eager: true });

// 处理成 { 名称: 图片路径 } 的形式
export const url = {
  '加油加气站': imageModules['/src/assets/surroundingResources/zhoubian-jiayouzhan.png'].default,
  '抢修队': imageModules['/src/assets/surroundingResources/zhoubian-qiangxiudui.png'].default,
  '医院': imageModules['/src/assets/surroundingResources/zhoubian-yiyuan.png'].default,
  '物资储备库': imageModules['/src/assets/surroundingResources/zhoubian-wuzi.png'].default,
  '学校': imageModules['/src/assets/surroundingResources/zhoubian-xuexiao.png'].default,
  '公共文化场所': imageModules['/src/assets/surroundingResources/zhoubian-gonggongwenhua.png'].default,
  '应急避难场所': imageModules['/src/assets/surroundingResources/zhoubian-gonggongwenhua.png'].default,
  '地铁站': imageModules['/src/assets/surroundingResources/zhoubian-ditie.png'].default,
  '消防栓': imageModules['/src/assets/surroundingResources/zhoubian-xiaofangshuan.png'].default,
  '重点单位': imageModules['/src/assets/surroundingResources/zhoubian-zhongdiandanwei.png'].default,
  '消防车': imageModules['/src/assets/surroundingResources/zhoubian-xiaofangche.png'].default,
  '消防队': imageModules['/src/assets/surroundingResources/zhoubian-xiaofangdui.png'].default,
  '救灾物资储备库': imageModules['/src/assets/surroundingResources/zhoubian-jiuzhai.png'].default,
  '重点地质灾害点': imageModules['/src/assets/surroundingResources/zhoubian-zhingdiandizhi.png'].default,
  '消防站': imageModules['/src/assets/surroundingResources/zhoubian-xiaofangzhan.png'].default,
  '洒水车': imageModules['/src/assets/surroundingResources/zhoubian-sashuiche.png'].default,
  '市应急联防救援站': imageModules['/src/assets/surroundingResources/zhoubian-shiyingji.png'].default
};

export const modelingUrl = {
  '地铁站': modelingModules['/src/assets/modeling/地铁站.png'].default,
  '公共文化场所': modelingModules['/src/assets/modeling/公共文化场所.png'].default,
  '加油加气站': modelingModules['/src/assets/modeling/加油加气站.png'].default,
  '加油站': modelingModules['/src/assets/modeling/加油加气站.png'].default,
  '救援队': modelingModules['/src/assets/modeling/救灾物资储备库.png'].default,
  '救援物资': modelingModules['/src/assets/modeling/救灾物资储备库.png'].default,
  '救灾物资储备库': modelingModules['/src/assets/modeling/救灾物资储备库.png'].default,
  '抢修队': modelingModules['/src/assets/modeling/抢修队.png'].default,
  '洒水车': modelingModules['/src/assets/modeling/洒水车.png'].default,
  '市应急联防救援站': modelingModules['/src/assets/modeling/市应急联防救援站.png'].default,
  '停车场': modelingModules['/src/assets/modeling/停车场.png'].default,
  '物资储备库': modelingModules['/src/assets/modeling/物资储备库.png'].default,
  '消防车': modelingModules['/src/assets/modeling/消防车.png'].default,
  '消防队': modelingModules['/src/assets/modeling/消防队.png'].default,
  '消防栓': modelingModules['/src/assets/modeling/消防栓.png'].default,
  '消防站': modelingModules['/src/assets/modeling/消防站.png'].default,
  '消防装备': modelingModules['/src/assets/modeling/消防装备.png'].default,
  '学校': modelingModules['/src/assets/modeling/学校.png'].default,
  '医院': modelingModules['/src/assets/modeling/医院.png'].default,
  '应急避难场所': modelingModules['/src/assets/modeling/应急避难场所.png'].default,
  '重点单位': modelingModules['/src/assets/modeling/重点单位.png'].default,
  '重点地质灾害点': modelingModules['/src/assets/modeling/重点地质灾害点.png'].default,
  '摄像头': modelingModules['/src/assets/modeling/摄像头.png'].default,
  '小区': modelingModules['/src/assets/modeling/小区.png'].default,
  '长途汽车站': modelingModules['/src/assets/modeling/长途汽车站.png'].default,
  '火车站': modelingModules['/src/assets/modeling/火车站.png'].default,
  '消防重点单位': modelingModules['/src/assets/modeling/消防重点单位.png'].default,
  '森林防火重点街道': modelingModules['/src/assets/modeling/森林防火重点街道.png'].default
};
